package com.bsierp.business.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Profession entity. @author MyEclipse Persistence Tools
 */

public class Profession implements java.io.Serializable {

    // Fields

    private Integer professionId;
    private String professionName;
    private Integer professionProcessorder;
    private Set processes = new HashSet(0);
    private Set processHistories = new HashSet(0);
    private Set employees = new HashSet(0);
    private Set employeeHistories = new HashSet(0);

    // Constructors

    /** default constructor */
    public Profession() {
    }

    /** minimal constructor */
    public Profession(String professionName, Integer professionProcessorder) {
        this.professionName = professionName;
        this.professionProcessorder = professionProcessorder;
    }

    /** full constructor */
    public Profession(String professionName, Integer professionProcessorder,
            Set processes, Set processHistories, Set employees,
            Set employeeHistories) {
        this.professionName = professionName;
        this.professionProcessorder = professionProcessorder;
        this.processes = processes;
        this.processHistories = processHistories;
        this.employees = employees;
        this.employeeHistories = employeeHistories;
    }

    // Property accessors

    public Integer getProfessionId() {
        return this.professionId;
    }

    public void setProfessionId(Integer professionId) {
        this.professionId = professionId;
    }

    public String getProfessionName() {
        return this.professionName;
    }

    public void setProfessionName(String professionName) {
        this.professionName = professionName;
    }

    public Integer getProfessionProcessorder() {
        return this.professionProcessorder;
    }

    public void setProfessionProcessorder(Integer professionProcessorder) {
        this.professionProcessorder = professionProcessorder;
    }

    public Set getProcesses() {
        return this.processes;
    }

    public void setProcesses(Set processes) {
        this.processes = processes;
    }

    public Set getProcessHistories() {
        return this.processHistories;
    }

    public void setProcessHistories(Set processHistories) {
        this.processHistories = processHistories;
    }

    public Set getEmployees() {
        return this.employees;
    }

    public void setEmployees(Set employees) {
        this.employees = employees;
    }

    public Set getEmployeeHistories() {
        return this.employeeHistories;
    }

    public void setEmployeeHistories(Set employeeHistories) {
        this.employeeHistories = employeeHistories;
    }

}